package cn.sofwin.web.blog.entity;

import cn.sofwin.core.entity.IdEntity;

/**
 * 管理员实体类
 * @author ZX
 * @version 1.0
 */
public class Admin extends IdEntity {
    private String username;

    private String password;

    private String level;

    public Admin() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    @Override
    public String toString() {
        return "Admin{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", level='" + level + '\'' +
                ", id=" + id +
                '}';
    }
}
